Visual Basic (Declaration) | |
---|---|
Public Overloads Function GetNewExportedInstances(Of T)( _ Optional ByVal acceptDefault As Boolean, _ Optional ByVal context As CompositionContext _ ) As IEnumerable(Of T) |
Visual Basic (Usage) | ![]() |
---|---|
Dim instance As CompositionHost Dim acceptDefault As Boolean Dim context As CompositionContext Dim value As IEnumerable(Of T) value = instance.GetNewExportedInstances(Of T)(acceptDefault, context) |
C# | |
---|---|
public IEnumerable<T> GetNewExportedInstances<T>( bool acceptDefault, CompositionContext context ) |
C++/CLI | |
---|---|
public: IEnumerable<T^>^ GetNewExportedInstancesgeneric<typename T> ( bool acceptDefault, CompositionContext^ context ) |
Parameters
- acceptDefault
- Whether the default DevForce implementation can be used when a custom implementation is not found.
- context
Type Parameters
- T
- Type defining the contract
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family